<?php
// TbBox
$this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => array(
		$this->projectName => array('project/schema'),
		'日志管理' => array('project/log'),
		'添加',
	),
	'headerIcon' => 'icon-plus',
));

// form
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'type' => 'vertical',
)); /* @var $form TbActiveForm */

// success flash
$this->widget('bootstrap.widgets.TbAlert', array(
	'block' => true, // display a larger alert block?
	'fade' => true, // use transitions?
	'closeText' => '×', // close link text - if set to false, no close link is displayed
	'alerts' => array('success', 'error', 'info'),
));
?>
<div class="row-fluid">
	<div class="span6">
		<?php echo $form->textFieldRow($model, 'word', array('class' => 'input-large span8')); ?>
		<?php echo $form->textFieldRow($model, 'wdf', array('class' => 'input-large span8')); ?>
	</div>
</div>
<div class="row-fluid row-bottom">
	<div class="span6">
		<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => '添加')); ?>
		<?php $this->widget('bootstrap.widgets.TbButton', array('label' => '返回', 'url' => array('project/log'))); ?>
	</div>
</div>
<?php
$this->endWidget();	// form
$this->endWidget();	// TbBox
